Network adapter firewall system and method

ABSTRACT

A network adapter system and associated method are provided. Included is a network adapter having a plurality of designated trusted and untrusted ports. The network adapter includes a processor coupled to a computer. Such processor is further coupled to a network via the ports. In use, the processor is configured for conditionally preventing network traffic from accessing the computer from the network via the untrusted ports and/or preventing unauthorized software from accessing the network in an untrusted manner from the computer.

CROSS-REFERENCE TO RELATED APPLICATION

This Application is a continuation (and claims the benefit of priority under 35 U.S.C. §120) of U.S. patent application Ser. No. 10/028,652, filed Dec. 20, 2001,now U.S. Pat. No. 8,185,943 entitled “NETWORK ADAPTER FIREWALL SYSTEM AND METHOD”. The disclosure of the prior Application is considered part of and is incorporated by reference in the disclosure of this Application.

FIELD OF THE INVENTION

The present invention relates to network adapters, and more particularly to interfacing with computers.

BACKGROUND OF THE INVENTION

In computer networks, a host computer system is normally connected to the network by a network adapter. In some designs, the network adapter is a board that plugs into the backplane bus of the host computer system. In other designs, the network adapter is built into the CPU motherboard. The host computer system typically includes a device driver which operates the network adapter.

Computer networks transfer data from one network node to another in the form of packets. For the purposes here, packets may include information for all layers of the ISO/OSI model at and above the data link layer. The network adapter transmits packets from the host computer system onto the network, and delivers packets from the network to the host computer system.

During operation, the host computer system produces two types of host memory buffers that are consumed by the network adapter: (1) transmit buffers containing packets to be transmitted onto the network, and (2) receive buffers to hold packets received from the network. The host computer system notifies the network adapter when either type of host memory buffer is produced. Similarly, the network adapter notifies the host computer system when it finishes consuming either type of buffer.

For example, to transmit a packet onto the network, the host computer system produces a transmit buffer by allocating a host memory buffer from a free pool of memory buffers, and writing the packet to the host memory buffer. The host computer system then notifies the network adapter that the transmit buffer has been produced (the packet is ready for transmission). The network adapter consumes the transmit buffer by transmitting the packet onto the network. The network adapter then notifies the host computer system that the buffer has been consumed (transmission has completed).

To receive a packet from the network, the host computer system first produces a receive buffer by allocating a host memory buffer into which a packet from the network may be received. The host computer system then notifies the network adapter that the receive buffer has been produced. When the network adapter subsequently receives a packet from the network to be stored in host memory, it consumes the receive buffer by writing the packet to it. The network adapter then notifies the host that the receive buffer has been consumed (the packet has been received).

When the host computer system is notified that a host memory buffer has been consumed (either a transmit buffer or a receive buffer), it completes the processing of that host memory buffer. The host computer system completes processing a consumed transmit buffer by returning the transmit buffer to the free pool of host memory buffers. The host computer system completes processing a consumed receive memory buffer by delivering the received packet to the appropriate user process, and then returning the receive buffer to the free pool of host memory buffers.

The host computer system typically notifies the network adapter after each host memory buffer has been produced by writing a register on the network adapter. The network adapter typically notifies the host computer system after each host memory buffer has been consumed by sending an interrupt to the host processor in the host computer system.

To date there has been no meaningful extension of the capabilities of network adapters to accomplish other tasks such as contributing to network security. Conventionally, the network adapter is often the ingress point for many untrusted packets of data, which may proliferate a virus on the associated computer. Unfortunately, such ingress point fails to provide any security features to prevent an attack on the computer.

DISCLOSURE OF THE INVENTION

A network adapter system and associated method are provided. Included is a network adapter having a plurality of designated trusted and untrusted ports. The network adapter includes a processor coupled to a computer. Such processor is further coupled to a network via the ports. In use, the processor is configured for conditionally preventing network traffic from accessing the computer from the network via the untrusted ports and/or preventing unauthorized software from accessing the network in an untrusted manner from the computer.

In one embodiment, the processor may be capable of being user-configured. As an option, the processor may be capable of being user-configured locally and/or remotely via a network connection with the network adapter. Further, the processor may be capable of being user-configured only after the verification of a password.

In another embodiment, the ports may include physical ports coupled to the network adapter for receiving plugs therein. Further, the trusted ports may be visually differentiated from the untrusted ports. This may or may not be accomplished utilizing color. In another embodiment, the ports may include electronic ports.

In still another embodiment, the processor may be capable of determining whether received packets are of interest. Further, this determination may be made based on an associated protocol.

In use, the processor may be capable of passing received packets that are not of interest. Further, the processor may be capable of checking whether the received packets violate predetermined rules if the received packets are of interest. As such, the processor may be capable of denying the received packets access to the computer if the received packets violate the predetermined rules.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a network architecture, in accordance with one embodiment.

FIG. 2 shows a representative hardware environment that may be associated with the data servers and computers of FIG. 1, in accordance with one embodiment.

FIG. 3A illustrates an exemplary network adapter with firewall capabilities that may be coupled between a computer and a network like those shown in FIGS. 1 and 2.

FIG. 3B is a schematic diagram of the network adapter with firewall capabilities, in accordance with one embodiment.

FIG. 4 illustrates a method for screening incoming data utilizing a network adapter with firewall capabilities.

FIG. 5 illustrates a method for configuring a network adapter with firewall capabilities, in accordance with one embodiment.

FIG. 6 illustrates an exemplary set of rules that may be selected by a user during the configuration method of FIG. 5, or in any other desired manner.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 illustrates a network architecture 100, in accordance with one embodiment. As shown, a plurality of networks 102 is provided. In the context of the present network architecture 100, the networks 102 may each take any form including, but not limited to a local area network (LAN), a wide area network (WAN) such as the Internet, etc.

Coupled to the networks 102 are data server computers 104 which are capable of communicating over the networks 102. Also coupled to the networks 102 and the data server computers 104 is a plurality of end user computers 106. In the context of the present description, a computer may refer to any web server, desktop computer, lap-top computer, hand-held computer, printer or any other type of hardware/software.

In order to facilitate communication among the networks 102, at least one gateway 108 is coupled therebetween. It should be noted that each of the foregoing network devices as well as any other unillustrated devices may be interconnected by way of a plurality of network segments. In the context of the present description, a network segment includes any portion of any particular network capable of connecting different portions and/or components of a network.

FIG. 2 shows a representative hardware environment that may be associated with the data server computers 104 and/or end user computers 106 of FIG. 1, in accordance with one embodiment. Such figure illustrates a typical hardware configuration of a workstation in accordance with a preferred embodiment having a central processing unit 210, such as a microprocessor, and a number of other units interconnected via a system bus 212.

The workstation shown in FIG. 2 includes a Random Access Memory (RAM) 214, Read Only Memory (ROM) 216, an I/O adapter 218 for connecting peripheral devices such as disk storage units 220 to the bus 212, a user interface adapter 222 for connecting a keyboard 224, a mouse 226, a speaker 228, a microphone 232, and/or other user interface devices such as a touch screen (not shown) to the bus 212, communication adapter 234 for connecting the workstation to a communication network 235 (e.g., a data processing network) and a display adapter 236 for connecting the bus 212 to a display device 238.

The workstation may have resident thereon an operating system such as the Microsoft Windows NT or Windows/95 Operating System (OS), the IBM OS/2 operating system, the MAC OS, or UNIX operating system. It will be appreciated that a preferred embodiment may also be implemented on platforms and operating systems other than those mentioned. A preferred embodiment may be written using JAVA, C, and/or C++ language, or other programming languages, along with an object oriented programming methodology. Object oriented programming (OOP) has become increasingly used to develop complex applications.

FIG. 3A illustrates an exemplary network adapter 300 with firewall capabilities that may be coupled between a computer and a network like those shown in FIGS. 1 and 2. Of course, such network adapter 300 may be coupled between any computer and any network in any desired context.

As shown in FIG. 3A, the network adapter 300 is equipped with a plurality of mechanical ports for receiving jacks, plugs, etc. to effect an electro-mechanical connection with the network, accommodate wireless capabilities, etc. For reasons that will soon become apparent, the ports include trusted ports 301 for coupling to a network that is considered secure from which any type of network traffic (i.e. communications, data, etc.) may be received. The ports may also include untrusted ports 303 which are adapted for being coupled to untrusted networks that may require firewall functionality.

As an option, the trusted ports 301 may be visually differentiated from the untrusted ports 303. This may or may not be accomplished utilizing indicia (i.e. color), or any other differentiator. As such, a user may easily select whether the firewall capabilities of the network adapter 300 are to be utilized.

The number of the trusted ports 301 and untrusted ports 303 may vary per the desires of the user. In one embodiment, the trusted ports 301 may be excluded in favor of the untrusted ports 303.

It should be noted that the network adapter 300 may include any Peripheral Component Interconnect (PCI) card, Industry Standard Architecture (ISA) card, Integrated Services Digital Network (ISDN) adapter, cable modem adapter, broadband adapter, or any other type of adapter capable of being installed on any sort of housing associated with a desktop, laptop or any other type of computer. In the alternative, the network adapter 300 may be integrally formed with the computer. Of course, the network adapter 300 may comprise any sort of interface between the network and the computer.

FIG. 3B is a schematic diagram of the network adapter 300 with firewall capabilities, in accordance with one embodiment. As shown in FIG. 3B, the network adapter 300 includes a processor 302 in communication with a standard adapter circuit 304. The processor 302 is coupled to the computer, while the standard adapter circuit 304 is coupled to the network. It should be noted that this configuration may vary per the desires of the user. For example, the standard adapter circuit 304 may be coupled to the computer, while the processor 302 is coupled to the network.

Such standard adapter circuit 304 may include various voltage regulating circuits, a bus, light emitting diode connections, and/or any other conventional circuitry commonly implemented in a network adapter 300. The processor 302 of the network adapter 300 may include a single semiconductor platform or multiple interconnected semiconductor platforms with associated logic to accomplish the functionality set forth herein.

The processor 302 of the network adapter 300 may include a packet assembler module 305 coupled to the standard adapter circuit 304 for assembling packets received from the network and packetizing information received from the computer. It should be noted that the processor 302 of the network adapter 300 is in communication with an operating system network driver 306 associated with the computer for receiving outbound data therefrom and further conditionally sending inbound data thereto, in a manner that will be set forth in greater detail during reference to FIG. 4.

Also included is adapter random access memory 308 coupled to the packet assembler module 305 for storing packets received therefrom. It should be noted that the memory 308 may include any cache or fast memory capable of allowing quick storage and/or retrieval of data.

Still yet, the processor 302 of the network adapter 300 includes a firewall module 310. The firewall module 310 may include logic that protects the computer from attacks, etc. from other untrusted networks, or from applications making untrusted use of the network from the computer. In use, the firewall module 310 may operate to screen packets and conditionally deny transmission based on predetermined rules. Such rules may include any settings, criteria, etc. capable of preventing transmission of packets that are unwanted, unauthorized, etc.

For example, the firewall module 310 may be used to prevent others from accessing the computer. This may or may not be accomplished by examining each incoming packet to determine whether it should be forwarded based on a predetermined settings.

Firewall module 310 functionality may include, but is not limited to screening packets to make sure they come from acceptable (previously identified) domain name, Internet ports, and Internet Protocol (IP) addresses. Further, the firewall module 310 may only allow remote access to the computer by the use of secure logon procedures and authentication certificates.

Optionally, various settings and other related control information associated with the firewall module 310 may be stored on a non-volatile solid state memory (i.e. FLASH RAM). This may be user protected by configuring the network adapter 300 BIOS with a password that only a user can change, as will soon become apparent.

As an option, a control module 311 may be used to control the overall operation of the network adapter 300. It should be noted, however, that the overall operation may be controlled in any desired manner. For example, the processor 302 may be controlled at least in part by way of the computer or a remote administrator communicating via the network.

A user interface driver 312 is coupled to the firewall module 310 for facilitating the configuration of the firewall module 310 and various other aspects of the network adapter 300. More information on such configurability will be set forth in greater detail during reference to FIG. 5.

In use, the packets received via the trusted ports 303 bypass the processor 302, while packets received via the untrusted ports 303 are managed by the processor 302 in the manner that will now be set forth.

FIG. 4 illustrates a method 400 for screening incoming data utilizing a network adapter with firewall capabilities. In one embodiment, the present method 400 may be used in the context of a network adapter like that mentioned hereinabove during reference the previous figure. Of course, the present techniques may be utilized in any desired context.

Initially, packets are received in operation 402 from the network. As mentioned earlier, this may be accomplished directly or through a standard adapter circuit 304, or by any other conduit. Thereafter, the packets are assembled in operation 404. This may be accomplished in any feasible method. For example, the packet assembler module 305 may utilize header information associated with the packets for assembling the data fields of the packets.

As each packet arrives, it is determined whether the packets are of interest. Note decision 406. Such determination may be based on any desired factor such as a source of the packet, a protocol associated with the packet, a timing of the packet, contents of the packet, and/or any other desired factor. In any embodiment where certain protocols are of interest, a predetermined amount of packets may need to be assembled to first identify whether the packets are of interest.

Table #1 illustrates an exemplary list of protocols that may be of interest. It should be noted that such list may vary based on a security threat that data using a particular protocol pose.

TABLE #1 HTTP traffic FTP traffic All Novell NetWare protocol traffic All Windows protocol traffic

If the packets are not of interest, as decided in decision 406, the packets are bypassed directly to the computer. See operation 407. This may be accomplished by bypassing the firewall module 310 and memory 308, and communicating directly with the network driver 306 of the computer. By this design, the packets that are not to be screened are communicated with the computer as fast as possible.

If, on the other hand, the packets are of interest, as decided in decision 406, the packets are cached in operation 408. For example, they may be stored in the memory 308. The current rules are then determined in operation 410. As mentioned earlier, the rules may include, but are not limited to any settings, criteria, etc. capable of preventing transmission of packets that are unwanted, unauthorized, etc. As an option, the rules may be user-configurable in a manner that will be set forth in greater detail hereinafter.

Once the rules are determined, it may be determined decision 412 as whether the packets violate such rules. If no violation occurs, the packets are transferred to the computer (i.e. network driver 306). See operation 418. If, however, the packet fails to comply with the current rule set, as determined by decision 412, access may be denied to the computer in operation 424. This way, no unauthorized packets and/or files reach the computer.

Further, an alert may be displayed for notifying a user of the denial of access. As an option, such alert may also provide options as to remedies for the situation. Such alert may be conveyed in any desired manner. For example, the alert may be provided to a remote administrator, using an indicator on the network adapter, and/or an interface on the computer. To accomplish this, such alert may be sent to the user interface driver 312.

To this end, the firewall capabilities are ensured and accelerated through use of the hardware processor. Further, by the critical positioning of the hardware processor on the network adapter, protection is inherently provided whenever network access is gained.

FIG. 5 illustrates a method 500 for configuring a network adapter with firewall capabilities, in accordance with one embodiment. Again, the present method 500 may be used in the context of a network adapter and associated method like that mentioned hereinabove during reference to the previous figures. Of course, the present techniques may be utilized in any desired context.

Initially, a computer user or remote administrator may be prompted for a password in operation 502. In the case of the user of the computer being prompted, this may be accomplished utilizing the user interface driver 312 of FIG. 3B. On the other hand, in the case of the remote administrator, the password request may be prompted using TCP/IP or any other desired network protocol. In the case of TCP/IP, the network adapter 300 may be assigned a dedicated IP address or MAC address for identification purposes.

If the password is received and verified, it is then determined whether the user or remote administrator wishes to update the rules associated with the firewall 310 of the processor 302. If the rules are to be changed, a user may alter various network adapter 300 settings in operation 514. These settings may range from conventional settings to determining which packets and files are of interest and further the specific rule base to be used in the context of the method 400 of FIG. 4. Just by way of example, the user may configure the packet filtering to enable/disable packet assembling and screening of HTTP traffic. Further, various other heuristics, well known firewall settings, or the like may also be configured. More information regarding the configuration of rules will be set forth during reference to FIG. 6.

As an option, since the memory 308 may have a limited amount of capacity with which to store assembled packets, the user may be able to set a threshold for the maximum size of packets to be stored in memory, As a further option, direct memory access may be used to utilize desktop RAM.

FIG. 6 illustrates an exemplary set of rules 600 that may be selected by a user during the configuration method 500 of FIG. 5, or in any other desired manner. It should be noted that the network adapter may be shipped with a default configuration for a typical user. Settings may vary for network adapters shipped for use in servers.

While various embodiments have been described above, it should be understood that they have been presented by way of example only, and not limitation. For example, any of the network elements may employ any of the desired functionality set forth hereinabove. Thus, the breadth and scope of a preferred embodiment should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents. 

What is claimed is:
 1. A network adapter, comprising: at least one designated trusted port; at least one designated untrusted port; and a processor provisioned in the network adapter, configured for providing firewall capabilities, and coupled within a computer, the network adapter coupled to a network via the ports, wherein network traffic from the at least one trusted port bypasses the processor, wherein the network adapter processor is configured for: assembling the network traffic into packets; performing an initial determination whether certain assembled incoming packets are of interest for screening activities based on determining a timing of the certain assembled incoming packets and content within the certain assembled incoming packets; bypassing the firewall capabilities and communicating the certain assembled incoming packets directly to a network driver of the computer if the certain assembled incoming packets are determined to not be of interest; determining whether the certain assembled incoming packets of interest violate a plurality of predetermined rules for packet transmissions, wherein the plurality of predetermined rules include at least one rule based on a security level selected from among a plurality of security levels, and wherein each security level includes specific rules to indicate whether incoming packets associated with a particular protocol violate the security level specific rule; and denying access to certain areas of the computer based on a violation of the predetermined rules.
 2. The network adapter of claim 1, wherein a subset of the packets greater than a threshold for a maximum size of packets are stored in random access memory of the computer.
 3. The network adapter of claim 1, wherein the initial determination of whether the certain assembled incoming packets are of interest for screening activities is further based on a source of the certain assembled incoming packets and a protocol of the certain assembled incoming packets.
 4. The network adapter of claim 1, wherein the violation is associated with remote access to the computer using an authentication certificate.
 5. The network adapter of claim 1, further comprising granting access to the certain areas of the computer if no violation occurs.
 6. The network adapter of claim 1, further comprising communicating an alert that signals the violation.
 7. The network adapter of claim 6, wherein the alert is provided using an indicator on the network adapter.
 8. The network adapter of claim 6, wherein the alert includes a plurality of options for addressing the violation.
 9. The network adapter of claim 1, wherein the processor is capable of being user-configured locally.
 10. The network adapter of claim 1, wherein the trusted and untrusted ports include physical ports coupled to the network adapter for receiving plugs therein.
 11. The network adapter of claim 10, wherein the trusted ports are visually differentiated from the untrusted ports.
 12. The network adapter of claim 11, wherein the trusted ports are visually differentiated from the untrusted ports utilizing color.
 13. The network adapter of claim 1, wherein received packets are of interest based on an associated protocol.
 14. The network adapter of claim 1, wherein the processor is further configured to pass received packets that are not of interest.
 15. The network adapter of claim 1, wherein the network adapter includes at least one of a Peripheral Component Interconnect (PCI) card, an Industry Standard Architecture (ISA) card, an Integrated Services Digital Network (ISDN) adapter, a cable modem adapter, and a broadband adapter.
 16. The network adapter of claim 1, wherein the network adapter includes an adapter circuit that is coupled to the network.
 17. The network adapter of claim 16, wherein the adapter circuit is coupled to the computer.
 18. The network adapter of claim 1, wherein non-volatile solid state memory is protected by configuring a bios of the network adapter with a password.
 19. The network adapter of claim 1, further comprising a packet assembler module configured to utilize header information associated with packets for assembling data fields of received packets.
 20. The network adapter of claim 1, further comprising a packet assembler module configured to assemble a predetermined amount of received packets based on an associated protocol.
 21. A method for screening network traffic by a processor of a network adapter configured for providing firewall capabilities, the network adapter being coupled to a computer and further coupled to a network via at least one designated trusted port and at least one designated untrusted port, wherein network traffic from the at least one trusted port bypasses the processor, the method comprising: assembling the network traffic into packets; performing an initial determination whether certain assembled incoming packets are of interest for screening activities based on determining a timing of the certain assembled incoming packets and content within the certain assembled incoming packets; bypassing the firewall capabilities and communicating the certain assembled incoming packets directly to a network driver of the computer if the certain assembled incoming packets are determined to not be of interest; determining whether the certain assembled incoming packets of interest violate a plurality of predetermined rules for packet transmissions, wherein the plurality of predetermined rules include at least one rule based on a security level selected from among a plurality of security levels, and wherein each security level includes specific rules to indicate whether incoming packets associated with a particular protocol violate the security level specific rule; and denying access to certain areas of the computer based on a violation of the predetermined rules. 